<#assign title="">
<#assign description="">
<#assign copyright="">
<#assign company="">
<#assign author="">
<#assign since="">
package ${packageName};

/**
 * 
 * <p>Title: ${title}</p> 
 * 
 * <p>Description: ${description}</p> 
 * 
 * <p>Copyright: Copyright (c) ${copyright}</p> 
 * 
 * <p>Company: ${company}</p>
 * 
 * @author ${author}
 * @since  ${since}
 * @version 1.0
 */



import java.util.List;
import java.util.Map;

import com.sunwayworld.common.utils.SplitPage;
import com.sunwayworld.common.utils.VCommList;

<#foreach package in packages?if_exists>
import ${package};
</#foreach>

public interface ${className}{

<#if valueObject?exists>
	/**
	 * Method create${valueObject.classNick} 新增 ${valueObject.classNick}
	 * 
	 * @param ${valueObject.className?uncap_first} ${valueObject.className}.class
	 * @return ${valueObject.className}
	 */
	public ${valueObject.className} create${valueObject.classNick}(${valueObject.className} ${valueObject.className?uncap_first});

	/**
	 * Method delete${valueObject.classNick}s 删除 ${valueObject.classNick}
	 * 
	 * @param list List.class
	 */
	public void delete${valueObject.classNick}s(List list);

	/**
	 * Method update${valueObject.classNick} 修改 ${valueObject.classNick}
	 * 
	 * @param ${valueObject.className?uncap_first} ${valueObject.className}.class
	 */
	public void update${valueObject.classNick}(${valueObject.className} ${valueObject.className?uncap_first});

	/**
	 * Method get${valueObject.classNick}Detail 查询 ${valueObject.classNick} 详细信息
	 * 
	 * @param ${valueObject.className?uncap_first} ${valueObject.className}.class 包含主键
	 * @return ${valueObject.className}
	 */
	public ${valueObject.className} get${valueObject.classNick}Detail(${valueObject.pkField.type?default(String)} ${valueObject.pkField.name?default(mid)});

	/**
	 * Method get${valueObject.classNick}List 查询 List ${valueObject.className}.class
	 * 
	 * @param map Map.class 包含查询条件
	 * @param spage SplitPage.class 包含分页信息
	 * @return VCommList.class (${valueObject.className}.class)
	 */
	public VCommList get${valueObject.classNick}List(Map map,SplitPage spage);
</#if>
}